(fix bug)can not save authentication