Redirect logged user to profile when accessing unauthorized pages