Initial user account support. Fixes #546