adding pagination for transactions