simplified route mounting, to allow things like a subdomain for the API
fixed an overlooked HTTP status code