updated sample client to include getDeviceByID