implement view all appointments