Learn working with cookies and sessions

Use session to save number of visits, use cookie to identify session
and mongoDb to save session information.
Improved pages, added more pages

Improved index page, fixed error output, added chat and login page
drafts, added jquery and css.