DB and Authentication values now written to files