setup client