Adding duplicate entry username in messages table to save calls to get sender Name for From field in UI.
Changes in UI templates for a better look