Added security config and database.js.