1. added error page for error exceptions.
2. added index page.
added layout pages.
added chat and login pages.
added cookieparser.
added session and its secret option.