Validate the length of user name