Added .uniq to remove observation duplication in users and resources.