//On Click Send to Server
    //Sends new Account Info to Database
    public void SendNewAcc()
    {
        FLI.ByteBuffer buffer = new FLI.ByteBuffer();
        buffer.WriteInt(1);
        buffer.WriteString(username.text);
        buffer.WriteString(password.text);

        SendDataToServer(buffer.toArray());
        buffer = null;
    }
    //On click send to server
    //Sending Login Data to the Databse
    public void SendLogin()
    {
        FLI.ByteBuffer buffer = new FLI.ByteBuffer();
        //Changed to second packet
        buffer.WriteInt(2);
        buffer.WriteString(userLogin.text);
        buffer.WriteString(passLogin.text);
        SendDataToServer(buffer.toArray());

        setUsername(userLogin.text);

        buffer = null;
    }