working on auth tls
correction to work on windows done