login.html and main.html go in templates folder