public void readOption() {
        
        int choice = 0;
        do {
            displayLoginMenu();
            try {
                choice = sc.nextInt();
                sc.nextLine();
                switch (choice) {
                    case 1:
                        processLogin();
                        break;
                    case 2:
                    	processRegister();
                    	break;
                    case 3:
                        processExit();
                        break;
                    default:
                        System.out.println("Invalid Input! Please try again.");
                }
            } catch (InputMismatchException e) {
                // display error message
                System.out.println("Please enter a valid option!");
                sc.nextLine();
            }
        } while (choice != 3);
    }