title: Python Flask MongoDB User Authentication
body: <p>I am planning to build an app using python-flask and mongodb, but I have absolute zero experience on those. I would like to know Why one prefers MongoDB, and is there any kind of user authentication is possible within the app.
  i.e., A new user signs up and later authenticates his username and password and gets an access and and start up his session, and simultaneously gets authorization to his data. And once on click of logout link his sessios gets destroyed.</p>
  
  <p>Thanks in advance.</p>