Add vote functionality with view and controller