more refactoring of user reg with number sanitization