add documentation around the use of mongoose