Implemented /api/vote