tambah fungsi save as txt saat register dan upload txt key saat login