changed authcode type to text