Fixed problem that userID containing some underscore cannot register.