Adding registration to event