refactor Friend to prevent duplicates