add a way to set cookie domain