adding role tree to all pages