I\'m facing a problem when trying to figure out whether a client (React) is authenticated or not to show different pages. I\'m aware that passport-local set a cookie with th