cookie refactoring
version
Merge pull request #2 from LiveTex/BT-172-cookie

Bt 172 cookie