fixing nav bar for login state