changed autoAuthenticate property to boolean