fixed nav bar sign in sign out logic