Added upvote, downvote and unvote apis for posts.