replaced UsernameValidator with RegexValidator
replaced PasswordValidator with RegexValidator