Fixed routes to redirect logged-in user from root