added views for polls (detail) and index