moved myevents+attendees functions from controller to subcontroller, #447