defined attendee_data function in attendee controller
insert data into doattend if ticket number is verified