record ip address when creating messages and get ip info;