fix pagination for user controller