Using session in item operations