modified the registration to be per event basis