added views and routes for polls