modified refresh in home.ejs