improved login menu positioning