got mongoose working and performed all CRUD operations