getting req ip to console