Implement a simple user login page. Display some page if login is successful and set the session and cookie. Implement a logout mechanism (just delete the session/cookie). For CSRF, use https://github.com/codahale/charlie
- Just use plain javascript. If you need to use a framework, you can use jquery.
- Use go
- No need for a database.. Simply hardwire user and password
- Implement CSRF token using the simple library https://github.com/codahale/charlie