Update to submission code. 

Poll creation now works.