Fixed some cookie stuff