add validation to category form