add a function to show appointments, callable from .profile