User navigation (welcome) bar

Hi there,
thanks for great support. My new question is about user navigation bar.
When user is logged in he can see navigation bar with links to the profile, messages, friend and etc. so far is fine.

But, when user check information about other users, suddenly information in user bar switch's of to the information from the user I am looking on.

I hope for some help with this issue. Thank in advance!

Regards,
Steve