fixed post and added delete