switch from ServerInteraction to RESTInteraction