added :uniq=>true property to HABTM relationships to avoid duplicates