Navbar now switches between authenticated and logout states.