updating auth.js for new domain name.