Added user friendships feature and tests.