Added connect to package.json. Fixed some bugs in ConfessionsController.js