Socialism does not mean non-democratic, people... socialism is an economic term, while democracy is political. One can have a democratic socialist state, and actually *mean* it.
It just so happens that the more extreme forms of socialism (communism, for example) lead to too much centralization of power, which naturally leads to dictatorships.