add validation to model article