save invited_by when register