added upvote functionality
Merged