improved login_layout