defined forgot function for attendee controller