add http status code for mongo lookup failure