display home page dynamically