Update on database.js

- Added console.log for first initialization