add item post and delete to api