added 404 status code in error_manager