add mongoose plugin