CS - Session handling with localStorage.