Added display number of messages
Added the html for messages