Cookies!

Added cookies and functionality to use them.