more refactoring
better comment in home.html