write first view for the poll app