Allow user to pass database configured mongoose object