added the overdue status, for late records
added job to set past appointments to overdue status