model level pwd validtion