fix changeemail bug with confirmRegistration