add relations between users and records