added uniqueness validation to the category model