fixing issue with highlighting navbar when not logged in