refactoring home html