introducing generic views for polls app