If domain name entered in text field, use it, else use username as domain name