Fixed bug with empty login fields