refactoring createAppointments and some comments
appointments and favorites are now deletable
appointments are now deletable