added handler for home page