added options for isPassword validatoer