bugs fixed: id is attached to response, req['name'] instead of req.name is used