Add logic for errors and validation for attendances.