Added work with cookie