adding cookies and session ids