Refactored sqlDb to initialize in keys. Keys update. check email