(bug) fix post request and db insert on post