is_upvote() and is_downvote() have been added into model