initial user registration support
Merge branch 'raysmond'