fix terminal appearance bug and terminal should close when user session expired;
improve doc;
add new doc and use Maruku dialect;