public HttpResponseMessage Delete([FromUri] string username)
        {
            IEnumerable <string> key;

            Request.Headers.TryGetValues("ApiKey", out key);

            string APIKey = key.First();

            database.createLog("User requested /User/removeuser", APIKey);

            bool temp = false;

            if (database.CheckKeyName(APIKey, username) == true)
            {
                temp = database.CheckKeyDelete(APIKey);
                return(Request.CreateResponse(HttpStatusCode.OK, temp));
            }

            else
            {
                return(Request.CreateResponse(HttpStatusCode.OK, temp));
            }
        }