Register member and insert to dataset with prevent duplicate register

Actually, if the email is duplicate, it will result in error.