Updated the verification code so temp users don't get deleted unless the user is registered successfully