Fixed navigation after logout