added redirect controller