added code for post comments