moved ip log to api