why don't you use MongoStore to store session data? may be that will solve your problem.
app.use(session({ secret: 'mysecret', resave: false, saveUninitialized: false, expires: new Date(Date.now() + (60 * 60 * 24 * 7 * 1000)), cookie: { } , store: new MongoStore({mongooseConnection: mongoose.connection}) }));