***Handle error when no id is found in DELETE method*** ***Update deleteData function in log page to use clearvisits API endpoint