Included a handler to show how you could get session data. In this case, if user is logged in, they get shown the profile page, instead of the sign-in page. You can customize this to anything, for example removing the login button, and replacing it with the profile picture of Gravatar or something.