fixed add cookies
fixed phantom return response