fixed wrong variable name
add unread feature for user messagte