improved pagination for roles table