remove duplicates, modify output and add link on each person name