Base framework with secure token mod