added trivial cookie manager