Adding in secure controller to redirect out