Preliminary support for adding users.

Doesn't fully work yet; need to auto-generate username and password.