Navbar now updates when the user is logged in