used uniqueness and validates to make sure information was filled in and there are were no repeats