added get num of unread msgs