supports for logout and site description, fix root path bug