tornado boilerplate project. basic code from https://github.com/renxing/quora-python, I delete some code, and kept only user registration, login, logout function