cookies and UI changes