Removed unneded pieces of code (fixing bugs). Now the posting of election votes finally works.