adapts the user registration to the new structure