core.js added, database is connected