added MongoDB connection