beautified clientsession and implemented IDisposable