Add step4 Promises based XHR requests and logging.