private static void login(BufferedReader br, ServiceInterface obj,
			Scanner cs) throws IOException{
		// TODO Auto-generated method stub
		String str[] = new String[2];

		for (int i = 0; i < 2; i++) {
			str[i] = br.readLine();
		}

		if (obj.login(str[0], str[1])) {
			System.out.println("Hello "+str[0]);
			showMenu(br, obj, cs);
		}
		else {
			System.out.println("Login failed.");
			showMenu(br, obj, cs);
		}
	}