load data from server into client