Made homepage dynamic