CHANGED:applied the autosignin preference setting function