Initialize Mongoose in all.js and setup persistent Session storage.