How Obama beat Romney with social marketing and technology