title: MongoError: collection name must be a String - Even though I specified a string already
body: <p>Does anyone have any idea why I'm facing this error even though I've clearly specified 'user' as my collection which is a string? Thank you in advance! (Btw I'm tryna modularise all my database Handler into another js file).</p>
  
  <p><a href="https://i.stack.imgur.com/hwEED.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hwEED.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/ZNdID.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZNdID.png" alt="enter image description here"></a></p>