Initial code for event attendance
Added code to allow event attendance