Showing Logged in User

Can you provide some code that allows me to add it to the guest header that displays the username logged in and the company name?

Many thanks

Dale