if private mode enable, only admin can publish module
use sync module woker to handle sync process. fixed #19