Navbar, login and register fixes