updated routes so index works