validate ec change pwd