get ip address from user