Redirect to homepage if user is logged in.