Change render to redirect