added view comment function to api