/userip replies with the IP of the user, which is known from when you log on. It can never be 127.0.0.1 for a normal user.