Finishing touches on publish

do csw insert and return it to front end