added logging and removed config info

I haven't solved the problem, but instead I have added logging, so that you can easily solve it yourself.

Also, I have removed db info and put it in a config.js file that is in .gitignore, so you will have to create a new version of config.js yourself. I suggest changing your mongo db password, too.