rewrite routings in owner scope. Add judjement pages(epmty)