adds check for file size of 1 byte
adds log-on-failure, randomizes user pool