getting polls app working