little changes in frontend validation for createUser view