checking for origin domain