added code to the SetUpClient class