user registration works

sets prefs