Fixes #317.
Adds registered users preliminary support.