Added connction to mongoDB.