Change alluser to accept a callback as parameter.