getting polls with categories