first implementation of a Session class