Removed unnecessary routing and changed layout for API subdomain,
restricting it to only API calls