added uniqueness validator to prevent PG exceptions