Added drafts for work with cookies;
Fixed set cookies;