public HttpResponseMessage GetLoggedUser() { object retVal = UserDbManager.GetLoggedUser(((ClaimsPrincipal)HttpContext.Current.User).FindFirst("username").Value); return(Request.CreateResponse(HttpStatusCode.OK, retVal)); }