added middleware attempt 1.  response is 404 on the local server but but still renders page