Fixed loading problem by passing in mongoose as an explicit parameter initialize mongoose-paginate