connect logon and regist
Merge branch 'master' of github.com:JingkaiZhao/TongjiLifeBible
add function of logout to javascript, modify logon and register