add error handling for cookies and remove stale cookie hard coded
used cookies from original request to authenticate