Added cookie for loadDomain function in stock-management