Added manage friendships functionality