fixed user name creation error in regular expression