Capture exception for unauthorized users