comment function in blog controller