private void processBeforeLoggedIn(int choice){
        switch (choice){
            case 1:     login();
                break;
            case 2:     bookRepository.showAllBooks();
                break;
            case 3:     movieStore.showAllMovies();
                break;
            case 4:     getLibraryNumber();
                break;
            case 5:     System.exit(0);
        }
    }