Add a function that delete a candidate
Fix a minor issue