Fix Cookie not Defined issues
Merge pull request #2 from AdamQuadmon/fixCookieNotDefined

Fix Cookie not Defined issues