Move account registration check to a _require_registration method
remove debug logging statements