Add thymleaf layout dialects

- Remove fragments
- add layout in every page
- fix login page
- add responsive layout
- refactor input format