Appoinment that are created go into the database