Made home page dynamic