Making login and logout more pleasant