controllers: utils, log ip if available method exists