Wrong variable name was used in login() and logout(), preventing operation.
Attach a file by drag & drop or click to upload