Add Travis CI and small test

Adds a small test for logins.go , but more importantly adds TravisCI.