add index page and validate name and title