tested out the cookies and sessions