corrected look up ip on session started