Update register, for user create.

Add validation and error