add preferences to store auth and test by echoing response code & number of files