get auth code from title