    public $validationRules = [
        'username' => [
            'label' => 'Auth.username',
            'rules' => [
                'required',
                'max_length[30]',
                'min_length[3]',
                'regex_match[/\A[a-zA-Z0-9\.]+\z/]',
                'is_unique[users.username]',
            ],
        ],
        'email' => [
            'label' => 'Auth.email',
            'rules' => [
                'required',
                'max_length[254]',
                'valid_email',
                'is_unique[auth_identities.secret]',
            ],
        ],
        'password' => [
            'label' => 'Auth.password',
            'rules' => [
                    'required',
                    'max_byte[72]',
                    'strong_password[]',
                ],
            'errors' => [
                'max_byte' => 'Auth.errorPasswordTooLongBytes'
            ]
        ],
        'password_confirm' => [
            'label' => 'Auth.passwordConfirm',
            'rules' => 'required|matches[password]',
        ],
    ];

    protected $validationMessages = [
        "username" => [
            "required" => "Please enter a User name",
            "max_length" => "{param} characters maximum for the User name",
            "min_length" => "{param} characters minimum for the User name",
            "regex_match" => "User name has invalid characters",
            "is_unique" => "User name '{value}' already exists"
        ],
        "email" => [
            "required" => "Please enter an email address",
            "max_length" => "{param} characters maximum for the email address",
            "valid_email" => "That does not look like a valid email address",
            "is_unique" => "Email address '{value}' already exists"
        ],
        "password" => [
            "required" => "Please enter a password",
            "max_byte" => "Passwrord is too long",
            "strong_password" => "Password is not strong enough, should contain Uppercase, lowercase, numbers and punctuation",
        ],
    ];
