https://javascript.plainenglish.io/understanding-node-js-authentication-express-sessions-passport-curl-explained-46d873403ec7