added logic for users without appointments to not show appointment time