Tested and fixed cookies