public boolean chooseOptionFromMenu() {
        int userChoice= Program.getUserInput();

        if (userChoice == 1) {
            Program.displayBookList();
        }
        else if (userChoice == 2) {
            user.reserveBook();
        }
        else if (userChoice == 3) {
            if (User.loggedIn()) {
                System.out.println("\n");
                System.out.println("Your library number is " + Program.savedLibraryNumber);
            } else {

                System.out.println("\n");
                System.out.println("Please talk to Librarian. Thank you.");
            }
        }
        else if (userChoice == 4) {
            Program.displayMovieList();
        }
        else if (userChoice == 5) {
            Program.clearLogin();
            user.login();

        } else if (userChoice == 9) {
            System.out.println("Quitting...");
            return true;
        } else {
            System.out.println("\n");
            System.out.println("Enter a valid integer!!");
        }
        return false;
    }