Upvotes completed. Shows upvote or downvote button according to if user has upvoted or not