bug1: 在 all/main.py 的BaseHandler的构造函数中无法redirect，错误信息最后提到：  File "/usr/local/lib/python2.7/dist-packages/tornado/web.py", line 830, in flush
Add sql query to the user register system