login dialog fix