Moved registration success event until after update success.

Given a registration whereby the database call to update the user fails, the register success event was originally firing regardless causing things such as the confirmation email to be sent even when the registration actually failed.