title: how login works?
body: <p>Well, you type username and password in form, hit "OK" button. Then data going to server side and check users database if that user is existed. Then it return user id. And what next?
  That data is saved in cookies?
  Does it mean, that with every clicked link, site login you to website again?</p>
  
  <p>I mean,</p>
  
  <ol>
  <li>you click some link on site</li>
  <li>browser redirect you to that page</li>
  <li>site checks your cookies</li>
  <li>site grab username and password from cookies</li>
  <li>site checks is that data is valid (via connecting to database)</li>
  <li>show page to you</li>
  </ol>
  
  <p>Is that correct?</p>