optimised session object