Added functionaliy to delete appointment