added server response in utils.js