added user friendships and associated tests