adjust homepage, redirect logged in users from homepage to dashboard