add status code 404 to the connectioncontroller