with --cookies-file and check for login
Merge pull request #3 from fayland/master

with --cookies-file and check for login