added destroy action and id in the json