Added a delete function to the product page