title: Unable to access Mongo Db in router folder
body: <p>Iam getting stated with meteor.whenever i want to access the collection in the place " collection.js " which is placed in the LIB folder(lib is placed outside of both client and server folder).</p>
  
  <p>It was returning an empty array ([]) .I wrote a query " Console.log(menuDetails.find().fetch()); " in collections.js but an empty array is displayed in console. 
       but when i use "menuDetails.find().fetch()" in console it was returning an array of elements.
       Auto-publish and insecure packages are not removed.</p>
  
  <p>Please help. Thank you..!</p>