Validation for register on UI.
Merge remote-tracking branch 'origin'