Display error instead of allowing user to connect with empty username