Refactor database queries to open and close on each query
Merge branch 'dev' of https://github.com/microhoods/microhoods into dev

Conflicts:
	server/app.js
	server/controllers/userController.js
Merge branch 'dev' of https://github.com/microhoods/microhoods into dev