         let data: NSData = self.data;
         let json = NSJSONSerialization.JSONObjectWithData(data, options: nil, error: nil) as NSDictionary;
         
-        
-        
         verification = getVerification(json, field: "verification");
         println(verification);
-        self.reloadInputViews();
-        
+
+        if (verification == "success") {
+            self.performSegueWithIdentifier("login", sender: self);
+        }
+        else {
+            label.textColor = UIColor.redColor();
+            label.text = "Rejected!";
+        }
     }
     
     deinit {

    }

	@IBAction func verifyLogin (sender : AnyObject) {
        // Get JSON
        URL_STRING += username.text + "/" + password.text;
        self.connect("");

		if (verification == "success") {
			self.performSegueWithIdentifier("login", sender: sender as UIButton);
		}
		else {
			label.textColor = UIColor.redColor();
			label.text = "Rejected!";
		}
	}
    ////////////////////////////////////////////////////////////////////////////////////////////
    
    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning();

        
        return tournamentData;
    }
    
    @IBAction func onMenu() {
        (tabBarController as TabBarController).sidebar.showInViewController(self, animated: true)
