add index in order to be able to count unread entries without join