Template integration and returning index when accessing route '/'