Made cookies secure