Create cookie after users signing in
Render main page based on logging status
Implement method to clear cookie after user signs out
Add a route for user to sign out
Add cookies to remember user permanently