More debugging, cookies to file

Still problem to maintain login status with katsomo