added function attend event

added my events page
bug fixes