refactor routes for subdomain
add url helper for subdomain