refactoring _url_rules and linked home