Validation added for user creation.
Validation added for user creation.