Add connection to MongoDB