fixed defect where site breaks when user tries to attend an event twice