private ArrayList<members> searchForMembers(ArrayList<members> memberList, String input){
        ArrayList<members> updated_memberList = new ArrayList<members>();
        for(members current: memberList){
            try {
                if (current.getId().toString().contains((input))){
                    updated_memberList.add(current);
                }
            }
            catch( Exception e ) {
                if (current.getFirstName().toUpperCase().contains(input.toUpperCase())){
                    updated_memberList.add(current);
                } else if (current.getFirstName().toUpperCase().contains(input.toUpperCase())){
                    updated_memberList.add(current);
                }
            }
        }
        return updated_memberList;
    }