render the comments dynamically