changed '/' to '/index' and commented out 'credentials'