issue #8: User can submit votes

 - refactoring