Fixed bug on empty login form