add a new option "signup" to command adduser; optimize error logic