Russia was headed by the Communist Party, you asshat. Communist doesn't work, that is why it ended up so fucked up. But that doesn't mean it wasn't a communist country.
And communism is a branch of socialism. It fucking came from socialism. They are not like opposites.