update some setup documentation and started to fix registration optional problem...