added logger to Client