added view past appt feature