move dbclient to the app delegate
read in server settings from user defaults on view will appear