Added Auth API, and conf.