this is the error and undefined i am getting , when i console.log (req.session) and accessing req.session.isLoggedIn in my error handling middleware
cookie: