I need to remove default welcome message from header but display username after successful login. Tried below to hide welcome message but it also removes username after login
<referenceBlock name="header">
<arguments>
<argument name="show_part" xsi:type="string">other</argument>
</arguments>
</referenceBlock>
Also tried below
<referenceBlock name="top.links">
<referenceBlock name="header" remove="true"/>
</referenceBlock>
How do I achieve above using xml and without overriding template file ?