public string Get(string username) { string response = "error: Wrong username"; var user = UserManager.Get(username); if (user != null) { response = user.Entity.ApiKey; } return response; }