Added auth
Fixed logic
Merge pull request #5 from hackthenorth/watchdog

Added auth