prevented logging in with a blank name