fix the display format of msg.from
Group search function with pagination