Add demo for windows and use new visibility functions in login demo