($prematch,$match) = $session->waitfor(match => qr/$username/, Timeout => 10);