add voting view and logic