refactoring selecting and showing votes, new accounthead