improved login / logout rendering