changed root_path and created index page