dispatch event when user registered