add custom 404 response for API