Implemented the like and dislike functionality