Add basic logic for friends.