adding a session object