Check authorization