added documentation around cookies