Show username in title for person poupup
Refactoring: grouping common functions together