Add LoginHandler in urls.
Fix the bug that HTTPServer should receive a Application()
Add cookie_secret option for secure_cookie.
Add a key attribute to Session.
Fix sessions process bug
Fix the templates folder path.
Give user object to template when login successful.
LoginHandler will update user's last login information now. And Bugs fix.