+ Account acc = loginManager.checkCredentials(usernameField.getText(),new String(passwordField.getPassword()));
+ if (acc.getAdmin()) {
+ this.setVisible(false);
+ Frame a = new AdminMenuGUI();
+ a.setVisible(true);
+ } else {
+ if(acc.getOwner()==null){
+ loginFeedback.setText("Incorrect username or password");
+ }else{