started major overhaul
better log otuput
fixed login and added better logging output
fixed tests and removed old versions of methods
Merge pull request #8 from peterkhayes/rewrite

Rewrite