forgot to add sessionMiddleware in the configure file