Adding cookie saving. Next step local saving.