new and improved auth code