Added attendance.js model