added functionality to upvote/downvote and show current status