Refactoring in home index view in egghead app. Add pages_names helper