add header, logout register