making personId required on attendance