implemented listfriends action