add 2 new methods for posts rate
only current user can vote the posts