add comment function in back end