added isonsamesubdomain and isonsamedomain