init and index web pages working