Added the refactor code for the mongodb session storage.