fixed nav bar sign in logic