Added DB authentication method
Merge pull request #4 from ganglio/master

Added DB authentication method