adds db authentication
Merge pull request #2 from danielmahon/master

adds db authentication