new style on login and logout