show appointments in view