Installation related bug fixes to  UserModel.py, and Config.py