added front-end prevention of multiple votings