checks for empty login fields