public void login() throws Exception{
		Member loginmem = new Member();
		String id;
		int loginputcomplete =1;

		do{
			System.out.println("[̵ Է]");
			scan.nextLine(); 
			id = scan.next();
			//缭  缭 ̵ 123 

			if((id.equals("0000123")) == TRUE){ //Է id 0000123(缭 ID) ġʴ´ٸ

				if(membercollect.getequal(id)==-1){ //idߺȮ
					System.out.println(" ʴ ̵Դϴ.");
					loginputcomplete =1;
				}				
				else //ϴ ̵ йȣԷ Ѿش.
					loginputcomplete = 0;
			}
			else //0000123 id Էÿ йȣ Է ׳ɳѾش.
				loginputcomplete =0;

		}while(loginputcomplete ==1);

		System.out.println("[йȣԷ]");
		scan.nextLine(); 
		String password = scan.next();

		//缭ǰ id 0000123̰ йȣ rootpass
		if((id.equals("0000123") !=TRUE) && (password.equals("rootpass")))
		{
			//缭޴
			librarian_menu();
		}
		else if(membercollect.getequal2(id,password)==1){ //id н ġѴٸ
			loginmem.ID =id;
			loginmem.password =password;
			System.out.println("αεǾϴ.");
			student_menu(loginmem);
		}
		else
		{
			//αοѰ
			System.out.println("αοϿϴ. ̵н带ٽԷּ.");
			//ٽ÷αȭ
			show_menu();
		}
	}