      userMsg.appendChild(userContent);

          document.getElementById('chat-container').appendChild(userMsg);

          // Simulate bot response
          setTimeout(() => {
            const botMsg = document.createElement('div');
            botMsg.className = 'chat-message';

            let response = '';
            if (message.toLowerCase().includes('who am i')) {
              response =
                'You are logged in as John Doe (john.doe@example.com). You have authenticated access to this