Add helper methods to make index page dynamic