some improvements to polls app