Redirect logged-in users from the homepage to the profile page.