Cookie-based authentication example
Steps to test the functionality:
- Click signup and create an account, this will also log you in.
- Click home and click profile again, notice how your session is being used through a token stored in a cookie.
- Click logout and try to go to profile again. You'll get redirected to the `/login` route.