Changed User.Id to User.UserId, Event.Id to Event.EventId, etc.