                     print("something went wrong!!")
                     
                 }
+                
                 else
+                
                 {
                     
                     let uid = result["uid"] as? String

            
            let okAction = UIAlertAction(title:"Ok", style:UIAlertActionStyle.Default){ action in
                self.dismissViewControllerAnimated(true, completion:nil);
            }
            
            myAlert.addAction(okAction);
