Redirects user to homepage when already logged in

Redirects user to homepage when already logged in