use session in ExampleCommand