split the "post vote" from the "retrieve votes" code