Collecting all mongo db operations into one class MongoInterface.
Storing the query parameters in the session for reset password feature.