improved login xml