Updated logout methods in DataClient