added functionality for appointment adding no backend code yet