Moved database initialisation to run block connected to the main module
Let's see if I can add the dashboard page shown once the user logs in.