getKagNameByNick now uses a callback function