Login Form validation and Navbar Controller