Adding mongoDB. Querying a collection during request.