Added ability to auto-register users