Delete functionality added for polls with REST API