making the home page dynamic and integrating haml