references: https://dseifried.wordpress.com/2011/09/30/node-js-connecting-to-a-database-and-some-very-basic-authentication/