stumped vote endpoin for webapp
ugly unsolved not-merge of duplicated function stubs