Added to log ip from user when generate the activation code.