pass in database and user and password into mongo_connect to authorize