implemented voting in view and controller for replies