                             onCompletion(true, self.serverMessage, self.serverCode, self.newGoal, err)
                         } else {
                             //response from request failed, json is nil
-//                            self.setServerCodeMessage(json)
                             onCompletion(false, self.serverMessage, self.serverCode, nil, err)
                         }
                     })

                        onCompletion(true, self.serverMessage, self.serverCode,self.newUser)
                    } else {
                        //response from request failed
//                        self.setServerCodeMessage(json)
                        onCompletion(false, self.serverMessage, self.serverCode,nil)
                    }
                })

                                onCompletion(true, self.serverMessage, self.serverCode)
                            } else {
                                //response from request failed
                                onCompletion(false, self.serverMessage, self.serverCode)
                            }
                        })
