Added kickass SQL statement to check if an appointment is still avaliable! Woo