Added callback to process successful server response.