logging fixes.
async rest calls added. logging fixes.