[update] using tornado rest handler. handlers and models of accounts refactored.