Fixed:
    test and modified the bugs of reg and book main page
Merge remote-tracking branch 'origin/master'