added database to the autoload, so it's available on every page