created edit and destroy capabilities for attendance