public static boolean checkLogin(Login l){
		
		ArrayList<Staff> staffList = new ArrayList<Staff>();
		
		staffList = StaffDAO.getAll();
		
		if(staffList.isEmpty()){
			return false;
		}
		for(Staff staff: staffList){
				Login contrLogin;
				contrLogin = staff.getLogin();
				if(contrLogin.getStaffID().equals(l.getStaffID())){
					if(BCrypt.checkpw(l.getPassword(), contrLogin.getPassword())){
						return true;
					}
				}
		}
		return false;
	}