Added new attribute nbregpages to Portal::Profile
Fixed trying to register the wrong node