public boolean validateUser() {
        String fname1 = "Brian";
        String lname1 = "Murphy";
        String uname1 = "x12533897";
        String pword1 = "brian";

        String fname2 = "Frances";
        String lname2 = "Sheridan";
        String uname2 = "x1234455";
        String pword2 = "frances";

        String fname3 = "Ciaran";
        String lname3 = "Browne";
        String uname3 = "x12375786";
        String pword3 = "ciaran";

        String fname4 = "Ben";
        String lname4 = "Callaghan";
        String uname4 = "x12112241";
        String pword4 = "ben";

        String fname5 = "James";
        String lname5 = "Cosgrave";
        String uname5 = "x12345678";
        String pword5 = "james";

        String fname6 = "Aaron";
        String lname6 = "Kane";
        String uname6 = "x12445678";
        String pword6 = "aaron";

        String fname7 = "Sam";
        String lname7 = "Gormley";
        String uname7 = "x12545678";
        String pword7 = "sam";

        String fname8 = "Aodhan";
        String lname8 = "Scott";
        String uname8 = "x12645678";
        String pword8 = "aodhan";

        String fname9 = "Ryan";
        String lname9 = "Scollard";
        String uname9 = "x12745678";
        String pword9 = "ryan";

        String fname10 = "Conor";
        String lname10 = "Graham";
        String uname10 = "x12845678";
        String pword10 = "conor";

        String fname11 = "Sean";
        String lname11 = "Keeley";
        String uname11 = "x12945678";
        String pword11 = "sean";

        String fname12 = "Brian";
        String lname12 = "Kinsella";
        String uname12 = "x12955678";
        String pword12 = "briank";

        String fname13 = "Joe";
        String lname13 = "Bloggs";
        String uname13 = "x12964567";
        String pword13 = "sam";

        String fname14 = "Peter";
        String lname14 = "Packets";
        String uname14 = "x1294778";
        String pword14 = "peter";

        String fname15 = "Bob";
        String lname15 = "Squash";
        String uname15 = "x12943678";
        String pword15 = "bob";


        User us1 = new User(fname1, lname1, uname1, pword1);
        User us2 = new User(fname2, lname2, uname2, pword2);
        User us3 = new User(fname3, lname3, uname3, pword3);
        User us4 = new User(fname4, lname4, uname4, pword4);
        User us5 = new User(fname5, lname5, uname5, pword5);
        User us6 = new User(fname6, lname6, uname6, pword6);
        User us7 = new User(fname7, lname7, uname7, pword7);
        User us8 = new User(fname8, lname8, uname8, pword8);
        User us9 = new User(fname9, lname9, uname9, pword9);
        User us10 = new User(fname10, lname10, uname10, pword10);
        User us11 = new User(fname11, lname11, uname11, pword11);
        User us12 = new User(fname12, lname12, uname12, pword12);
        User us13 = new User(fname13, lname13, uname13, pword13);
        User us14 = new User(fname14, lname14, uname14, pword14);
        User us15 = new User(fname15, lname15, uname15, pword15);


        list.add(us1);
        list.add(us2);
        list.add(us3);
        list.add(us4);
        list.add(us5);
        list.add(us6);
        list.add(us7);
        list.add(us8);
        list.add(us9);
        list.add(us10);
        list.add(us11);
        list.add(us12);
        list.add(us13);
        list.add(us14);
        list.add(us15);




        uname = txtUname.getText().toLowerCase();
        pword = txtPassword.getText().toLowerCase();

        for (int i = 0; i < list.size(); i++) {
            if (list.get(i).getUsername().equals(uname) && list.get(i).getPassword().equals(pword)) {


                return true;
            }

        }


        return false;

    }