added attend and unattend to events