Updating auth code return value