refined login and logout experience for users