Implemented API to vote a user