adding a constraint to avoid users ending up attending events more than once