refact controller of election fixes albertolopez/votolab#3
Merge remote-tracking branch 'origin/master'