added functionality to up & downvote comments