redirect_url(): Use two seperate variables with limited scope