building edit and new appointments
creating new appointments working