im trying to read from a textfile when user inputs his username and password for verification
===

im having problem with the code. I need to read data from a txtfile. User will input his username and password , and the system will check with the information stored in the textfile for verificaiton , once it is successful he will be logged in. But im having a error which im not sure how to proceed.

import java.util.*;
import java.io.*;

public class existingCustomers {
		
		String username,password;
    public existingCustomers() {
    
    	Scanner input= new Scanner(System.in);
    	
    	System.out.println("Welcome to Kreg Hotel booking System");
    	System.out.println("Please login.");
    	System.out.println("==============================================");
    	System.out.println("Username: ");
    	username= input.nextLine();
    	System.out.println("Password: ");
    	password = input.nextLine();
    	new userPassOk(username,password);
    	
    	
    	
    }
    
     private boolean userPassOk(String user, String pass)throws FileNotFoundException {

        Scanner s = new Scanner(new File("customerinfo.txt"));
        username=user;
        password=pass;
        while (s.hasNextLine()) {
            String[] userPass = s.nextLine().split(":");
            if (userPass[0].equals(user) && userPass[1].equals(pass))
                return true;
        }
        return false;
    }


}


My error is C:\Users\MegaStore\Desktop\java testing\existingCustomers.java:18: error: cannot find symbol
    	new userPassOk(username,password);
    	    ^
  symbol:   class userPassOk
  location: class existingCustomers
1 error