Added ability to view attendances on student index screen, and error handling in attendance form.