get the class data from the server