added associations to users and events