Revert "Revert "Merge pull request #28 from gguerrero/master""

This reverts commit a7ba13e9394bbafb2fc975ae29d97c7bfc9976d3.
Reenable cookies and fix a non used var bug
Merge pull request #32 from gguerrero/master

Cookies!