Fixed the issue with attendance not working.
-reworked the attendance controller. Everything is now in working
	order
-fixed the displaying of attendances. Index now shows the
	attendances