Check origin of request