manage empty login