saveAttendance now returns a promise, removed unused lessonStudents function
minify