Implementation of the store for express-session with MongoDB