seperated clientlog class from client.py