Views and Attendance Controller updated