public static Map<String, String> loggedInBefore() throws IOException {

		Map<String, String> dbParams = new HashMap<String, String>();
		BufferedReader reader = null;
		reader = new BufferedReader(new FileReader(
				System.getProperty("user.dir") + "/src/Settings/settings.txt"));

		String line;
		String[] l;

		while ((line = reader.readLine()) != null) {
			System.out.println(line);
			if (line.length() > 4) {
				l = line.trim().split("-");
				dbParams.put(l[0], l[1]);
			}
		}
		reader.close();
		if (dbParams.size() > 0)
			return dbParams;
		else
			return null;
	}