added hook for nano auth options
made the auth call more general
Merge pull request #5 from brentcobb/db_auth

Db auth