Fixed showing nav bar buttons on login page