Added a check to make sure databaseUsername and databasePassword are set...

... in WEBCONFIG