client portion is able to get data from server