changed the db.py file, swapping out the depricated pymongo.connection for pymongo.MongoClient