modified the validation for username.