Remove import of redirect_to and redirect from routes. redirect_to is not used in this and redirect doesn't exist in the module routes.