Moved session start to top of setup-database.php