added random tokens for security manager deactivation