Feature/replace cookies