//GET api/values
        public HttpResponseMessage Get([FromBody] UserObj user)
        {
            string    userid   = user.MyFitnessPalUserName;
            datalayer dl       = new datalayer();
            var       res      = dl.getfitnesspaldata(userid);
            var       response = Request.CreateResponse(HttpStatusCode.OK);

            response.Content = new StringContent(res.ToString(), Encoding.UTF8, "application/json");
            return(response);
        }