Added the authentication machinery! Wujuu!