Added ip comparison to registration checks.