fix pulbish and add a test page
fix settoken and conitunetoken