added auth, updated readme, misc code changes
bug fix in output
Merge pull request #2 from mnshankar/feature/auth-misc

added auth, updated readme, misc code changes