fix nav login check