add validation to job page