private boolean passwordValidation(char[] pass1, char[] pass2){
    
        boolean validated=false;
        
        String passw1 = String.valueOf(pass1);
        String passw2 = String.valueOf(pass2);
        
        if(passw1.equals(passw2)){
        
            validated = true;
        }
        
        return validated;
    }