User.find({ _id: { \'!\': user.id } }, function foundFriends (err, friends) { if(err) return next(err); res.view({ friends: friends }); }
You can try this:
User.findOne({ _id : ObjectId(user.id.toString()) })
Hope this help.