added realtime validation to password-new and password-reset pages