There were still some issues with setCookie, not all variables were corr...

...ectly renamed