example with views
apply mongooseClient