fix routes for navbar when not logged in