Store sessions in the mongoDB database.