Cookies

@s-panferov I think this handles everything.

cc @reem 
create _a_ corresponding