added editing to appointments
added deleting appointments