Added postAttendance functionality
Added functionality to get attendance updated by class, date
Removed unnecessary console.log statements