Add uniqueness on users and events