added pymongo connection