fixed empty username check