public static ArrayList<Staff> searchStaffByID(String staffID){
		
		try {
			   if(conn == null || conn.isClosed()){
			    conn = DatabaseConnection.getConnection();
			   }
			  } catch (SQLException e1) {
			   // TODO Auto-generated catch block
			   e1.printStackTrace();
			  }
		
		ArrayList<Staff> staffs = new ArrayList<Staff>();
		try {
			PreparedStatement stmnt = conn.prepareStatement("SELECT * FROM Staff WHERE staff_id LIKE ? ");
			stmnt.setString(1, staffID + "%");
			ResultSet res;
			res = stmnt.executeQuery();
			while(res.next()){
				//Date yearEdition, String publicationPlace, String title String genre, String author, String iSBN, String publisher,int bookID
				login = new Login(res.getString("staff_id"),res.getString("password"));
				staff = new Staff(res.getString("name"), res.getString("first_name"),res.getString("function"), login);
				staffs.add(staff);
			}
		}
			catch(SQLException e){
				e.printStackTrace();
				
				
			}
		
		return staffs;
	}