added automatic-refresh after 5 seconds to homePage