Login, logout works but is not centralized