added cookie checks
Merge pull request #4 from michellefish/master

added cookie checks