public HttpResponseMessage Login() { //Here you should do your vallidation var ctx = Request.GetOwinContext(); List <string> roles = new List <string>(); roles.Add("Admin"); _userService.SignIn(1, "Brock", "*****@*****.**", roles, ctx); return(Request.CreateResponse(HttpStatusCode.OK, "Loged in!")); }