final fix for issue #2.  Since preferences are created when needed (ie, in the get_prefs function) no longer inserting in the create user function.  Some updates needed in main.py as well to get user properly.