title: How to store user data in node webkit(nw.js) desktop app for login
body: <p>I want to create a login desktop app based on node webkit. I see a tutorial using a module called diskdb to store user data locally. My question is it's local storage in each end-user's PC, right? So does this mean if someone sign up in one PC but he can't login in another PC? In real product should we use something like MongoDB hosted in cloud to store user data? </p>
  
  <p>Sorry I'm pretty new to desktop apps. I think desktop app has to exchange lots of data with database in cloud, is this implemented by direct db manipulation or webservices? Or there are other ways to do it. </p>
  
  <p>Thanks in advance for any suggestion! </p>