Code refactoring, bug fixes

* Change structure of config.json
-> Update code that utilizes config.json
* Change /profiles/email from GET to POST
Merge branch 'master' of github.com:kocsenc/nodejs-tutorme