modify home page php to read data from db