Setup the navbar to know if the current user is logged in or not