fix validation do not allow space between text.

fix form validation do not allow space between text in username.