added destroy method and delete button