showing appointments on index for patient and doctor