Changed messages view to table