added check for already booked appointments in bookNew