remove duplicate attr for username, and alias old userid attr to point to username.