try connecting to mongodb