add user friendships functionality