Democracy, federalism and representation