add validator to pwd confirm input