how to separate logged user name and submitted user?

 i have requirement that  i need to separate the logged in user and othernames?

  Discussion posts and replies are publicly visible