Refactoring of messages collection and helpers + show author name instead of id.