filtered Project tables by status. fixed notif count depending on role.