added polls views and templates