remove useless code
sort again
add user unread messages