set cookies in notify