add the function of posting comment