Fix nav bar display bug when logged in