Changed how URL is logged out