void UserLogin(SmartObject obj, ulong sender)
 {
     string username = obj.GetString("username");
     string password = obj.GetString("password");
     HTTP http = new HTTP("http://www.turnofwar.com/game/userlogin.php");
     http.Get((responses) => {
         Debug_Console.i.add((string) responses);
         SmartObject response_obj = new SmartObject();
         response_obj.AddString("type", "Login");
         response_obj.AddString("response", (string) responses);
         response_obj.AddInt("sender", (int) Networking.PrimarySocket.Me.NetworkId);
         Networking.WriteCustom(EventHelper.GetEventId("ServerResponse"), socket, EasySerialization.EasySerialize(response_obj), GetNetPlayer(sender), true);
         if((string) responses == "1") {
             //if the server responds as wrong login
             server_model.Verifyuser((ulong) obj.GetInt("sender"));
         }
     }, new string[2] { "username="******"password=" + password });
 }