Get an intersection of a user and a friend.
Refactor to a class
Extract class to file