added some mongoose plugins for models