added  variable in view function of attendee controller