Login , setBasicCredentials and sendDataItem working!