Set up mongoose connection to mongodb