connect to MongoDB (localhost)