finished addPoll api functionaliy