Refactor home page template
Refactor home page template
Preliminary work on login