navigation menu fix when unauthenticated