Democracy in an age of social media