modifying the pattern to use an EntityDbo instead of UserDbo