fixed login empty fields bug