add acceptAppointment functionality