serverResponseHandler implemented