add ip and date