added new auth-check security feature