public LogAc load(LogAc logAc){
		try{
			File inFile = new File(filePath);

			if (inFile.exists()){
				FileInputStream inFileStream = new FileInputStream(inFile);
				ObjectInputStream inObjectStream = new ObjectInputStream(inFileStream);
				LogAc tmplogin = (LogAc) inObjectStream.readObject();
				inObjectStream.close();
				return tmplogin;
			}else{
				//first time use
				Admin admin = new Admin("Superusr","user","user");
				Doctor doctor = new Doctor("Default Doctor","doctor","doctor",1);
				logAc.addAdmin(admin);
				logAc.addDoctor(doctor);
				return logAc;
			}
		} catch (IOException e){
			System.out.println("inFile IOException");
			return logAc;
		} catch (ClassNotFoundException e){
			System.out.println("ClassNotFoundException");
			return logAc;
		}
	}