system of government in which supreme authority rests with the people, either directly or through elected representatives