STEP 5. added connection to MongoDB