deleteentry made functional and connected it to cancel.html