Redirect to the index page if a user is already logged in.
Add logout page and logout button on header.