Repaired showing count of unread messages on homepage