fixed problem with navigation after login