add user name validation on the clien