private static void displayLogin(BufferedReader reader, VideoStore videoStore) {
        try {
            String username = "";
            String password = "";
            while (username.isEmpty()) {
                System.out.println("Please enter your username:");
                username = reader.readLine();
            }
            while (password.isEmpty()) {
                System.out.println("Please enter your password:");
                password = reader.readLine();
            }
            videoStore.logIn(username, password);
            if (videoStore.isLoggedIn()) {
                System.out.println("Login was successful.");
            } else {
                System.out.println("Login was unsuccessful.");
            }
        } catch (Exception e) {
            System.out.println("There was an error while logging in.");
        }
    }