regex for list of users except the user fetching it?

Below is the code in which the filter is the query parameter at the endpoint bulk and we use this filter that user has typed in his dashboard, this filter should fetch all the users he filtered through his filter from all users except the user himself but now it fetches all of it(his user including) ???

router.get("/bulk",async (req, res) => {
  const filter = req.query.filter || "";

  const users = await User.find({
    $or: [
      {
        firstName: {
          $regex: filter,
        },
      },
      {
        lastName: {
          $regex: filter,
        },
      },
    ],
  });
  

  res.json({
    user: users.map((user) => ({
      username: user.username,
      firstName: user.firstName,
      lastName: user.lastName,
      _id: user._id,
    }))
  });
});

, tried to use .filter in .map but doesnt work, other regex failed too