updated register() on email failure

If email doesn't go to user's email address we need to delete the added  record , so that he can retry to register, otherwise problem of duplicate identity will occur.