improved messages showing number of  unread messages in all pages