An introduction to democratic theory