login/logout works with new design