changed routing to index