Added user name validation.