Refactoring - added cookies to requests/responses
helper for html templates