ADD: detect domain
FIX: check empty user arguments
FIX: don't connect to remote host if 'action' is 'add'