instructor can submit attendance
refactor attendance