Implemented the server-side upvote function using a transaction
Implemented client-side upvote functionality