add manual function add_cookie(key, value, domain)