moved registration process into userhelper