handle navbar when logged in vs logged out