Add permission checking and date highlight for physical theraphy