Adding mongoDB connection