now can pass state param to get read or unread notifications