added getIP method to IPHelper
get all ip addresses