Redirects from landing to homepage if a user is logged in