add session operator interface, use get/setLocal to get cookies