pass the response object to upper layer when register success.