fixed navigation for login and register