added timestamps to output to see how long login and download take
update debug code