Refactored home_page view to use a template