public HttpResponseMessage GetLogin()
 {
     using (UserRepo repo = new UserRepo())
     {
         try
         {
             WebUser user = repo.getUser(this.currentUserId, this.currentUserId);
             return Request.CreateResponse(HttpStatusCode.OK, user);
         }
         catch (Exception e)
         {
             return Request.CreateResponse(HttpStatusCode.BadRequest, e);
         }
     }
 }
 public UserController()
 {
     this.repo = new UserRepo();
 }