Register member and insert to dataset with prevent duplicate register

oic , so for my coding is all no problem right ?