Encapsulation of registration dialog logic in to his own object
Begin field validation view engine
Validates user name field in registration dialog and shows error or ok message