added pagination links to helper and removed n+1 in broadcasts