commented out formatAttendence in event.php controller