added a function to extract mutual friends for all listings