added maximum length 50 to user name validation