Use jinja2 template, replace LoginPage.py to templates/login.html