Refactor of finding message sender name