Added code to display current segment on the home page.