setting up polls app