use only post,delete methods for delete action