Factor logic out of the main package
Run gofmt
Actually *use* the autogenerated auth secret
Update .gitignore for new files
Add bit about vim tmp files