added a 404 status code when page was not found