modify auth type