fix redirect index on login [array]