changing redirect for index