Added pending messages in getlist and mark as read when click in the new messages