Implemented the delete action posts.