hack to remove login control for preview