implement feature to return friends list and matches list