- write loginform template file.
- main template file.