adds server-side code for bulk editing attendance. Still needs client-side js code to call the ajax function here.