How to add words next to the sidebar username, e.g. "Hi, username"?

hi,
I want to add words next to the user login image, “Hi User blah blah” with the following code,

if (IsLoggedIn()){
 echo "Hi ".CurrentUserName();
 }

but I’m confused about where to put it?
Can anyone help me to add words before the username?

https://discourse.hkvstore.com/t/display-username-on-sidebar-menu/8055/1

solved, thank you