created index template
created templating for polls