add validation to model
Finished ep13