added default config for models and connections
updated to fix user register