public bool userLogin(string Username, string Password) { RemotePost req = new RemotePost("http://tickets4you.dk/api/login"); req.Timeout = 3; req.Add("Username", Username); req.Add("Password", HashBuilder.GetHashString(Password)); req.Add("userSession", this.userSession); req.Add("apiKey", this.APIKey); LoginReturn lr = JsonConvert.DeserializeObject <LoginReturn>(req.Post()); if (lr.response) { userSession = lr.key; } return(lr.response); }