make filter work on server-side
dynamically decide whether to load 10 or 30 users