happy case cast vote front end implementation only