Register member and insert to dataset with prevent duplicate register

Note: if the login result in error and the error === duplicate,
you can try login the user using their register email and password.

if the login credencial is incorrect, then prompt user to retry OR login