began work on the post, delete and put methods