created index and root route