Remove use of redirect method and redirectToRoute method