Changed the cookieArray across the board so it can hold the neccessary data