Add mongoDB connection in server