added service to get ip