set up comment api