@aronasorman 's changes to add UserLog entries for teachers