refactor shiro ui