still refactoring post request