navbar and login form with login actions working on fake server