some minor changes to databaseapp