Added new appointment saving to database. Again, UNTESTED.