public int getLineIdByNameAndPassword(String name, String password) {
        try {
            if(name.equals("D1") && password.equals("dev_password1")) return -11;
            else if(name.equals("D2") && password.equals("dev_password2")) return -12;
            Scanner scan = new Scanner(this);
            int num = -1;
            while(scan.hasNextLine()) {
                num++;
                String line = scan.nextLine();
                if(line.startsWith(name)) {
                    if(line.contains(password)) return num;
                    else return -1;
                }
            }
        }catch(FileNotFoundException ex) {
            BaseUtils.warn(ex, true);
        }
        return -1;
    }