updated webinterface to support pagination