added collection.insert to post request