public static int doctorSearch(Db db, LogAc logAc, String Username){
		int i = 0;
		while (logAc.getDoctor(i) != null){
			if (Username.equals(logAc.getDoctor(i).userName))
				return i;
			i++;
		}
		return -1;
	}