added foreign key for users to events