public void mainMenu() throws IOException
{   
    Account aA = new Account(activeAccount);
    Scanner in = new Scanner(System.in);    
    System.out.println("Logged in as "+aA.getName());
    System.out.println("-----------------------");
    System.out.println("What do you want to manage?");
        System.out.println("1.Accounts");
        System.out.println("2.Apps");
        System.out.println("Type a number to select an option");
        System.out.println("-----------------------");
        String choice = in.nextLine();
        switch (choice) {
            case "1":
                accMng();
                break;
            case "2":
                appMng();
                break;
            default:
            System.out.println("Not a valid option.");
                    System.out.println("-----------------------");
                    mainMenu();
                break;
        }
}