[Add] login, logout, log and replace ca by cacert.pem