implemented post and delete commands