Worked on appointments data.
To-do: finish insertAppointment();