built an interface to manage friendships