             return
         }
 
-        if let
-            myUserID = YepUserDefaults.userID.value,
-            me = userWithUserID(myUserID, inRealm: realm) {
-                let _ = try? realm.write {
-                    me.learningSkills.removeAll()
-                    let userSkills = userSkillsFromSkills(self.learningSkills, inRealm: realm)
-                    me.learningSkills.appendContentsOf(userSkills)
-                }
+        if let me = meInRealm(realm) {
+            let _ = try? realm.write {
+                me.learningSkills.removeAll()
+                let userSkills = userSkillsFromSkills(self.learningSkills, inRealm: realm)
+                me.learningSkills.appendContentsOf(userSkills)
+            }
         }
     }
 

            return
        }

        if let
            myUserID = YepUserDefaults.userID.value,
            me = userWithUserID(myUserID, inRealm: realm) {
                let _ = try? realm.write {
                    me.masterSkills.removeAll()
                    let userSkills = userSkillsFromSkills(self.masterSkills, inRealm: realm)
                    me.masterSkills.appendContentsOf(userSkills)
                }
        }
    }


                    
                    SafeDispatch.async {

                        guard let realm = try? Realm() else {
                            return
                        }

                        guard let me = meInRealm(realm) else {
                            return
                        }

                        var haveSocialAccountProvider = false
